[#escape x as x?html]
<!DOCTYPE html>
<html>
<head>
	[#include "/include/meta.ftl" /] 
	[#include "/include/css.ftl" /]
	<title>管理后台</title> 
	[#include "/include/js.ftl" /]
</head>
<style>
body::-webkit-scrollbar{
  display:none;
}
</style>
<body class="hold-transition skin-blue sidebar-mini" >
	<div class="wrapper">
		[#include "/include/header.ftl" /] 
		[#include "/include/sidebar.ftl" /]

		<!-- Content Wrapper. Contains page content -->
		<div class="content-wrapper">
			<iframe id="iframe" name="iframe" src="${base}/admin/index/welcome" style="overflow:auto;"
					frameborder="0" width="100%" height="100%">
			</iframe>
		</div>
		<!-- /.content-wrapper -->
		[#include "/include/footer.ftl" /]
	</div>
	<!-- ./wrapper -->
	<script type="text/javascript">
		require(['jquery','adminlte.demo', 'datatables.net-bs', 'jquery.slimscroll'], function($){
			$('#iframe').height($('.content-wrapper').height());
			/* var iframe = document.getElementById('iframe');
			var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow;
			if (iframeWin.document.body) {
				iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.document.body.scrollHeight;
			} */
		});
	</script>
</body>
</html>
[/#escape]
